<?php
# Matt's first attempt at a MediaWiki Extension for Different Styles

$wgExtensionFunctions[] = "wcStyleExtension";

function wcStyleExtension()
{
	global $wgParser;
	$wgParser->setHook("wcstyle","insertCSS");
}

function insertCSS($input, $argv, &$parser)
{
	$output = $input." , this has been processed";
	$parser->mOutput->addHeadItem("<link href=\"taco.css\" rel=\"stylesheet\" type=\"text/css\">","tacostyle");
	return $output;
}

?>